//
//  JLSImageCell.m
//  自定义CollectionView布局
//
//  Created by 焦林生 on 15/12/1.
//  Copyright © 2015年 jiaolinsheng. All rights reserved.
//

#import "JLSImageCell.h"
@interface JLSImageCell()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@end
@implementation JLSImageCell

- (void)setImage:(NSString *)image {

    _image = [image copy];
    
    self.imageView.image = [UIImage imageNamed:image];
}
- (void)awakeFromNib {
    // Initialization code
    self.imageView.layer.borderWidth = 5;
    self.imageView.layer.borderColor = [UIColor whiteColor].CGColor;
    self.imageView.layer.cornerRadius = 10;
    self.imageView.layer.masksToBounds = YES;
}



@end
